package com.ruoyi.cs.domain;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.math.BigDecimal;

/**
 * ROLL房间参与对象 t_roll_cy
 *
 * @author ruoyi
 * @date 2021-03-25
 */
@Data
public class TRollCy extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 记录ID
     */
    @ApiModelProperty(value = "记录ID")
    private String cyId;

    /**
     * ROLL房ID
     */
    @ApiModelProperty(value = "ROLL房ID")
    @Excel(name = "ROLL房ID")
    private String rollId;

    /**
     * 用户ID
     */
    @ApiModelProperty(value = "用户ID")
    @Excel(name = "用户ID")
    private String userId;

    /**
     * 奖品ID
     */
    @ApiModelProperty(value = "奖品ID")
    @Excel(name = "奖品ID")
    private String prizeId;

    /**
     * 奖品名称
     */
    @ApiModelProperty(value = "奖品名称")
    @Excel(name = "奖品名称")
    private String prizeName;

    /**
     * 奖品图片
     */
    @ApiModelProperty(value = "奖品图片")
    @Excel(name = "奖品图片")
    private String prizePic;

    /**
     * 备注4
     */
    @ApiModelProperty(value = "上架价格")
    @Excel(name = "上架价格")
    private BigDecimal goodsPrice;

    /**
     * 上架价格
     */
    @ApiModelProperty(value = "兑换价格")
    @Excel(name = "兑换价格")
    private BigDecimal goodsExprice;

    /**
     * 中奖情况 0 中奖 1 没中奖
     */
    @ApiModelProperty(value = "中奖情况 0 中奖 1 没中奖 ")
    @Excel(name = "中奖情况")
    private String delFlag;

    /**
     * 版本号
     */
    @ApiModelProperty(value = "版本号")
    @Excel(name = "版本号")
    private Long version;

    /**
     * 后台标志
     */
    @ApiModelProperty(value = "后台标志")
    private String backStage;
    /**
     * 指定饰品ID
     */
    @ApiModelProperty(value = "指定饰品ID")
    private String appointGoodsId;
    /**
     * 饰品类型
     */
    @ApiModelProperty(value = "饰品类型")
    private String goodsType;

    @ApiModelProperty(value = "奖品品级")
    private String prizeGrate;

    @ApiModelProperty(value = "是否指定添加用户 0 是  1  否")
    private String isAppointUser;

    @ApiModelProperty(value = "客户端种子")
    private String userSeed;

    @ApiModelProperty(value = "服务端种子")
    private String serverSeed;

    @ApiModelProperty(value = "公共哈希")
    private String commonHash;

    @ApiModelProperty(value = "roll值")
    private Long rollValue;

    @ApiModelProperty(value = "随机整数")
    private Integer nonce;

    @ApiModelProperty(value = "客户端种子")
    private String userSeed1;

}
